From 1eebfd39630eb2a668e6b5868a621916e575c0aa Mon Sep 17 00:00:00 2001 From: robertl Date: Mon, 21 Jun 2010 02:35:06 +0000 Subject: [PATCH] Silence MSVC 'unused' warning. --- gui/serial_win.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gui/serial_win.cpp b/gui/serial_win.cpp index 1d564de71..dc9cc7fc7 100644 --- a/gui/serial_win.cpp +++ b/gui/serial_win.cpp @@ -1,4 +1,4 @@ -// $Id: serial_win.cpp,v 1.2 2009/11/19 03:56:03 robertl Exp $ +// $Id: serial_win.cpp,v 1.3 2010/06/21 02:35:06 robertl Exp $ //------------------------------------------------------------------------ // // Copyright (C) 2009 S. Khai Mong . @@ -57,6 +57,7 @@ void MainWindow::osLoadDeviceNameCombos(QComboBox *box) // but DevList is already at the maximum size it can be without running into kb 931305. // FIXME: This shold be a QMessageBox::warning() - RJL // fprintf(stderr,"QueryDosDevice() failed with %d. GetLastError()==%d.\n", res, err); + (void) err; return; } -- 2.30.2